package com.chen.popj.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ContestCodeSubmitVO {

    private Integer id; // 代码提交id
    private String title; // 题目标题
    private String result; // 判题结果(AC/WA/CE/TLE...)
    private String language; // 代码语言
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime submitTime; // 提交时间
    private Integer wrongCount; // 该题错误次数
    private String code; // 提交的代码

}
